package com.example.demo.service;


import com.example.demo.dao.BookDescMapper;
import com.example.demo.entity.BookDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookDescServiceImpl implements BookDescService {


    @Autowired
    private BookDescMapper bookDescMapper;

    @Override
    public BookDesc findBookDescById(int bookId) {
        return bookDescMapper.selectByPrimaryKey(new Integer(bookId));
    }
}
